package com.wolf;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author marin
 * @version 1.0
 * @date 2025/8/17 17:09
 * @desc 控制器（表示层）演示一个基础的springmvc Demo的创建
 */
@Controller
public class FirstController {


    @RequestMapping("/test")
    public String test2(){
        return "first";
    }


    @RequestMapping("/other")
    public String test3(){
        return "other";
    }
}
